<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
<html>
<HEAD>
<TITLE>SECCD - Agregar Cita</TITLE>
<script type="text/javascript" src="<%= request.getContextPath() %>/js/calendar.js"></script>
<script type="text/javascript" src="<%= request.getContextPath() %>/js/date.js"></script>
<script type="text/javascript" src="<%= request.getContextPath() %>/js/seccd.js"></script>
<script>
	function cerrar() {
		window.close();
	}
</script>
</HEAD>
<link href="<%=request.getContextPath()%>/theme/cssGeneral.css"	rel="stylesheet" type="text/css">
<link href="<%=request.getContextPath()%>/theme/cssLink.css"	rel="stylesheet" type="text/css">
<link href="<%=request.getContextPath()%>/theme/cssTexto.css" rel="stylesheet" type="text/css">
<link href="<%=request.getContextPath()%>/theme/cssFormulario.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="<%=request.getContextPath()%>/js/seccd.js"></script>
<c:set var="tempHorario" value="${sessionScope.tempHorario}"/>
<c:set var="tempSede" value="${sessionScope.tempSede}"/>
<c:set var="tempEspecialidad" value="${sessionScope.tempEspecialidad}"/>
<c:set var="tempServicio" value="${sessionScope.tempServicio}"/>
<c:set var="tempSillon" value="${sessionScope.tempSillon}"/>
<body topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">
	<form name="form">
		<c:set var="temp" value="1" />
		<table class="contenedor" border="0"> 
			<tr>
				<td colspan="8"><img src="<%=request.getContextPath()%>/images/cabecera.gif" width="800"></td>
			</tr>
			<tr>
				<td><img src="<%=request.getContextPath()%>/images/pxtrans.gif" width="5" height="10"></td>
				<td><img src="<%=request.getContextPath()%>/images/pxtrans.gif"	width="150" height="1"></td>
				<td><img src="<%=request.getContextPath()%>/images/pxtrans.gif" width="5" height="1"></td>
				<td><img src="<%=request.getContextPath()%>/images/pxtrans.gif" width="200" height="1"></td>
				<td><img src="<%=request.getContextPath()%>/images/pxtrans.gif" width="5" height="1"></td>
				<td><img src="<%=request.getContextPath()%>/images/pxtrans.gif" width="135" height="1"></td>
				<td><img src="<%=request.getContextPath()%>/images/pxtrans.gif" width="5" height="1"></td>
				<td><img src="<%=request.getContextPath()%>/images/pxtrans.gif" width="5" height="1"></td>
			</tr>
			<tr><td colspan="8"><img src="<%=request.getContextPath()%>/images/pxtrans.gif" width="1" height="3"></td></tr>
			<tr><td colspan="8" class="texto_celesteb12">&nbsp;&nbsp;&nbsp;Datos de la Cita</td></tr>
			<tr><td colspan="8"><img src="<%=request.getContextPath()%>/images/pxtrans.gif" width="1" height="3"></td></tr>
			<tr>
				<td><img src="<%=request.getContextPath()%>/images/pxtrans.gif" width="1" height="1"></td>
				<td class="texto_gris"><label class="texto_rojo10">(*)&nbsp;</label>Plan de Tratamiento</td>
				<td><img src="<%=request.getContextPath()%>/images/pxtrans.gif" width="1" height="1"></td>
				<td>
					<input type="text" name="txtPlanTratam" class="seccdINPUT140" disabled value="<c:out value='${sessionScope.CITATO.codigoDetPlanTrat}'/>" maxlength="12">
				</td>
				<td><img src="<%=request.getContextPath()%>/images/pxtrans.gif" width="1" height="1"></td>
				<td><img src="<%=request.getContextPath()%>/images/pxtrans.gif" width="1" height="1"></td>
				<td><img src="<%=request.getContextPath()%>/images/pxtrans.gif" width="1" height="1"></td>
				<td><img src="<%=request.getContextPath()%>/images/pxtrans.gif" width="1" height="1"></td>	
    		</tr>
			<tr><td colspan="8"><img src="<%=request.getContextPath()%>/images/pxtrans.gif" width="1" height="3"></td></tr>
			<tr>
				<td><img src="<%=request.getContextPath()%>/images/pxtrans.gif" width="1" height="1"></td>
				<td class="texto_gris"><label class="texto_rojo10">(*)&nbsp;</label>Paciente</td>
				<td><img src="<%=request.getContextPath()%>/images/pxtrans.gif" width="1" height="1"></td>	
				<td colspan="3">
					<input type="text" name="txtPaciente" class="seccdINPUT410" value="<c:out value='${sessionScope.CITATO.paciente}'/>"  disabled>
				</td>
				<td colspan="2"><img src="<%=request.getContextPath()%>/images/pxtrans.gif" width="1" height="1"></td>	
    		</tr>
			<tr><td colspan="8"><img src="<%=request.getContextPath()%>/images/pxtrans.gif" width="1" height="3"></td></tr>
			<tr>
				<td><img src="<%=request.getContextPath()%>/images/pxtrans.gif"	width="1" height="1"></td>
				<td class="texto_gris"><label class="texto_rojo10">(*)&nbsp;</label>Serv. Pendientes</td>
				<td><img src="<%=request.getContextPath()%>/images/pxtrans.gif" width="1" height="1"></td>
				<td colspan="3">
				<input type="text" name="txtServicio" class="seccdINPUT410" value="<c:out value='${sessionScope.CITATO.servicio}'/>"  disabled>
				</td>
				<td colspan="2"><img src="<%=request.getContextPath()%>/images/pxtrans.gif" 	width="1" height="1"></td>
			</tr>
			<tr>
				<td colspan="8"  class="fondo_celeste"><img src="<%=request.getContextPath()%>/images/pxtrans.gif" width="1" height="10"></td>
			</tr>
			<tr>
				<td><img src="<%=request.getContextPath()%>/images/pxtrans.gif" width="1" height="1"></td>
				<td class="texto_gris"><label class="texto_rojo10">(*)&nbsp;</label>Fecha</td>
				<td><img src="<%=request.getContextPath()%>/images/pxtrans.gif" width="1" height="1"></td>
				<td>
				<input type="text" name="txtPlanTratam" class="seccdINPUT140" disabled value="<c:out value='${sessionScope.CITATO.fechaSolicitada}'/>" maxlength="12">
				</td>
				<td><img src="<%=request.getContextPath()%>/images/pxtrans.gif" width="1" height="1"></td>
				<td class="texto_gris"><label class="texto_rojo10">(*)&nbsp;</label>Hora Inicio</td>
				<td>
					<input type="text" name="txtHorario" class="seccdINPUT140" disabled value="<c:out value='${sessionScope.CITATO.codigoHorario}'/>" maxlength="12">
				</td>
				<td><img src="<%=request.getContextPath()%>/images/pxtrans.gif" width="1" height="1"></td>	
    		</tr>
			<tr>
				<td><img src="<%=request.getContextPath()%>/images/pxtrans.gif"	width="1" height="1"></td>
				<td class="texto_gris"><label class="texto_rojo10">(*)&nbsp;</label>Hora Solicitadas</td>
				<td><img src="<%=request.getContextPath()%>/images/pxtrans.gif" width="1" height="1"></td>
				<td>
					<input type="text" name="txtSede" class="seccdINPUT140" disabled value="<c:out value='${sessionScope.CITATO.sede}'/>" maxlength="12">
				</td>
				<td><img src="<%=request.getContextPath()%>/images/pxtrans.gif"	width="1" height="1"></td>
				<td><img src="<%=request.getContextPath()%>/images/pxtrans.gif" width="10" height="1"></td>
				<td><img src="<%=request.getContextPath()%>/images/pxtrans.gif" width="10" height="1"></td>
				<td><img src="<%=request.getContextPath()%>/images/pxtrans.gif" width="10" height="1"></td>
			</tr>
			<tr><td colspan="8"><img src="<%=request.getContextPath()%>/images/pxtrans.gif" width="1" height="3"></td></tr>
			<tr>
				<td colspan="8"  class="fondo_celeste"><img src="<%=request.getContextPath()%>/images/pxtrans.gif" width="1" height="10"></td>
			</tr>
			<tr><td colspan="8"><img src="<%=request.getContextPath()%>/images/pxtrans.gif" width="1" height="3"></td></tr>
			<tr>
				<td><img src="<%=request.getContextPath()%>/images/pxtrans.gif"	width="1" height="1"></td>
				<td class="texto_gris">Sede</td>
				<td><img src="<%=request.getContextPath()%>/images/pxtrans.gif" width="1" height="1"></td>
				<td>
				<input type="text" name="txtSede" class="seccdINPUT140" disabled value="<c:out value='${sessionScope.CITATO.sede}'/>" maxlength="12">
				</td>
				<td><img src="<%=request.getContextPath()%>/images/pxtrans.gif" 	width="1" height="1"></td>
				<td  class="texto_gris">Especialidad</td>
				<td>
					<input type="text" name="txtSede" class="seccdINPUT140" disabled value="<c:out value='${sessionScope.CITATO.especialidad}'/>" maxlength="12">
				</td>
				<td><img src="<%=request.getContextPath()%>/images/pxtrans.gif" width="10" height="1"></td>
			</tr>
			<tr>
				<td colspan="8"><img src="<%=request.getContextPath()%>/images/pxtrans.gif" width="1" height="10"></td>
			</tr>
			<tr>
				<td><img src="<%=request.getContextPath()%>/images/pxtrans.gif"	width="1" height="1"></td>
				<td class="texto_gris">Sillon</td>
				<td><img src="<%=request.getContextPath()%>/images/pxtrans.gif" width="1" height="1"></td>
				<td>
					<input type="text" name="txtSede" class="seccdINPUT140" disabled value="<c:out value='${sessionScope.CITATO.sillon}'/>" maxlength="12">
				</td>
				<td><img src="<%=request.getContextPath()%>/images/pxtrans.gif" 	width="1" height="1"></td>
				<td><img src="<%=request.getContextPath()%>/images/pxtrans.gif" 	width="1" height="1"></td>
				<td><img src="<%=request.getContextPath()%>/images/pxtrans.gif" 	width="1" height="1"></td>
				<td><img src="<%=request.getContextPath()%>/images/pxtrans.gif" width="10" height="1"></td>
			</tr>
			<tr>
				<td colspan="8"><img src="<%=request.getContextPath()%>/images/pxtrans.gif" width="1" height="10"></td>
			</tr>
			<tr>
				<td align="right" colspan="8">
					<a href="javascript:cerrar()" class="boton_naranja"
					style="height: 18">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Cerrar&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a>
				</td>
			</tr>
			<tr>
				<td colspan="8"><img src="<%=request.getContextPath()%>/images/pxtrans.gif" width="1" height="10"></td>
			</tr>
			<tr>
				<td class="fondo_gris" colspan="8"><img	src="<%=request.getContextPath()%>/images/pxtrans.gif" width="1" height="18"></td>
			</tr>
			<tr>
				<td  colspan="8"><img src="<%=request.getContextPath()%>/images/pxtrans.gif"	width="1" height="3"></td>
			</tr>
			<tr>
				<td class="fondo_celeste" colspan="8"><img src="<%=request.getContextPath()%>/images/pxtrans.gif" width="1"	height="25"></td>
			</tr>
		</table>
		<INPUT type="hidden" name="method">
		<INPUT type="hidden" name="action"> 
		<input type="hidden" name="pop" value="pop">
		<INPUT type="hidden" name="tmpSillon" value="<c:out value="${tempSillon}"/>">
		<INPUT type="hidden" name="txtFechaActual" value="<c:out value="${fechaActual}"/>">
		<INPUT type="hidden" name="txtRangoAsignacionCita" value="<c:out value="${sessionScope.RANGO_ASIGNACION_CITA}"/>">    
	</form>
</body>
</html>